{% extends 'base.html' %}
{% block content %}
       <div class="col-md-8">
        <span> <a href="{% url 'rbac:role_list' %} " class="btn btn-success">角色列表</a></span>
        <div class="panel panel-primary" style="margin-top: 10px">
            <div class="panel-heading">
{#                {% for item in request.url_record %}#}
{#                 <a href="/web{{ item.url }}" style="color: white">{{ item.title }}</a>#}
{#                {% endfor %}#}
            </div>
            <form class="form-inline" style="margin-left: 10px" action="" method="post">
                {% csrf_token %}
                <div class="form-group" style="margin-top: 10px">
                    <label for="">角色名称</label>
                    <input type="text" class="form-control"  value="{{ role_obj.title }}" name="name">
                </div>
                <input type="submit" value="提交" class="form-control btn btn-success"><span style="color: red">{{ status.msg }}</span>
            </form>
        </div>
    </div>
{% endblock content %}